package com.gopay.common.domain.log;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * @author lianpeng
 * 风险管理-安全日志查询-安全日志分析表
 */
@Entity
@Table(name = "ANALYSIS_SECURITY_LOG")
public class AnalysisSecurityLog extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7776110273036739137L;
	
	private Long analysisId;
	/** 分析时间 **/
    private Date analysisTs;
    
    private String analysisFileName;
    
    private String analysisType;

    @Id
    @SequenceGenerator(name = "SQ_ANALYSIS_SECURITY_LOG", sequenceName = "SQ_ANALYSIS_SECURITY_LOG",initialValue = 1,allocationSize = 1)
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SQ_ANALYSIS_SECURITY_LOG")
    @Column(name = "ANALYSIS_ID")
	public Long getAnalysisId() {
		return analysisId;
	}

	public void setAnalysisId(Long analysisId) {
		this.analysisId = analysisId;
	}
	
	@Column(name = "ANALYSIS_FILE_NAME")
	public String getAnalysisFileName() {
		return analysisFileName;
	}

	public void setAnalysisFileName(String analysisFileName) {
		this.analysisFileName = analysisFileName;
	}

	@Column(name = "ANALYSIS_TS")
	public Date getAnalysisTs() {
		return analysisTs;
	}

	public void setAnalysisTs(Date analysisTs) {
		this.analysisTs = analysisTs;
	}
	
	@Column(name = "ANALYSIS_TYPE")
	public String getAnalysisType() {
		return analysisType;
	}

	public void setAnalysisType(String analysisType) {
		this.analysisType = analysisType;
	}
    
}
